<?php
namespace gzapi\common\model;
use think\Model;
class GzHiseServiceProTestModel extends Model{
       public static $Instance;
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
    protected $autoWriteTimestamp = true;
       public static function Instance(){
           if(!self::$Instance){
               self::$Instance= new self();
           }
           return self::$Instance;
       }
       //添加调试信息
       public static function saveProTest($data){
            $res=self::Instance()->insert($data);
            
            return $res;
       }
       //获取调试信息详情
    public static function proTestInfo($where){
        $res=self::Instance()->where($where)->find();
        return $res;
    }
    //编辑调试单
    public static function editProTest($where,$data){
        $res=self::Instance()->where($where)->update($data);
        return $res;
    }

    public function azdIdArr($where){
        $res=$this->where($where)->column('azd_id');
        return $res;
    }

}